<?xml version="1.0" encoding="UTF-8"?>

<!-- Copyright 2007 XBRL International. All Rights Reserved. -->

<link:linkbase
  xmlns:xlink="http://www.w3.org/1999/xlink"
  xmlns:link="http://www.xbrl.org/2003/linkbase"
  xmlns:generic="http://xbrl.org/2008/generic"
  xmlns:formula="http://xbrl.org/2008/formula"
  xmlns:variable="http://xbrl.org/2008/variable"
  xmlns:cf="http://xbrl.org/2008/filter/concept"
  xmlns:gf="http://xbrl.org/2008/filter/general"
  xmlns:pf="http://xbrl.org/2008/filter/period"
  xmlns:xfi="http://www.xbrl.org/2008/function/instance" 
  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  xmlns:xs="http://www.w3.org/2001/XMLSchema" 
  xmlns:test="http://abc.com/test"
  xmlns:xbrli="http://www.xbrl.org/2003/instance"

  xsi:schemaLocation="
  http://www.xbrl.org/2003/linkbase http://www.xbrl.org/2003/xbrl-linkbase-2003-12-31.xsd
  http://xbrl.org/2008/generic ../../core_schemas/generic-link.xsd  
  http://xbrl.org/2008/formula ../../core_schemas/formula.xsd
  http://xbrl.org/2008/variable ../../core_schemas/variable.xsd
  http://xbrl.org/2008/filter/concept ../../core_schemas/concept-filter.xsd
  http://xbrl.org/2008/filter/period ../../core_schemas/period-filter.xsd
  http://xbrl.org/2008/filter/general ../../core_schemas/general-filter.xsd
  ">
  
  <link:arcroleRef arcroleURI="http://xbrl.org/arcrole/2008/variable-set" xlink:href="../../core_schemas/variable.xsd#variable-set" xlink:type="simple"/>
  <link:arcroleRef arcroleURI="http://xbrl.org/arcrole/2008/variable-filter" xlink:href="../../core_schemas/variable.xsd#variable-filter" xlink:type="simple"/>
  <link:roleRef roleURI="http://www.xbrl.org/2008/role/link" xlink:href="../../core_schemas/generic-link.xsd#standard-link-role" xlink:type="simple"/>

  <generic:link xlink:type="extended"
    xlink:role="http://www.xbrl.org/2008/role/link">

    <formula:formula xlink:type="resource" xlink:label="formula" 
      value="xfi:concept-label(
               node-name($item),
               'http://www.xbrl.org/2003/role/link',
               (if ( count($parentArc) ge 1 and
                     string-length(xfi:relationship-attribute($parentArc[1],QName('','preferredLabel'))) gt 0)
                then xfi:relationship-attribute($parentArc[1],QName('','preferredLabel'))
                else 'http://www.xbrl.org/2003/role/label'),
               'en'
             )"
      source="item"
      aspectModel="non-dimensional" implicitFiltering="true">
    </formula:formula>

    <!--  Fact variable -->
    <variable:factVariable xlink:type="resource" xlink:label="v_item" bindAsSequence="false" />

    <!--  Arc from the formula to the variables it depends on -->
    <variable:variableArc xlink:type="arc" xlink:arcrole="http://xbrl.org/arcrole/2008/variable-set" 
      xlink:from="formula" xlink:to="v_item" order="1.0"
      name="item" />

    <!-- general variable is arc from parent with preferredLabelRole 
         concatenate link1 and link2 as may be in either -->
    <variable:generalVariable xlink:type="resource" xlink:label="rels" bindAsSequence="true"
      select="xfi:concept-relationships(
                node-name($item), 
                'http://abc.com/role/link1',
                'http://www.xbrl.org/2003/arcrole/parent-child',
                'ancestor',
                1),
              xfi:concept-relationships(
                node-name($item), 
                'http://abc.com/role/link2',
                'http://www.xbrl.org/2003/arcrole/parent-child',
                'ancestor',
                1)
              " />
    <variable:variableArc xlink:type="arc" xlink:arcrole="http://xbrl.org/arcrole/2008/variable-set" 
      xlink:from="formula" xlink:to="rels" order="1.0"
      name="parentArc" />

  </generic:link>

</link:linkbase>
